home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / news / inn1.000 / inn1.4sec-linux-src.tar / inn / samples / newsfeeds < prev    next >
Text File  |  1993-03-18  |  3KB  |  71 lines

  1. ##  $Revision: 1.12 $
  2. ##  newsfeeds - determine where Usenet articles get sent
  3. ##  Format:
  4. ##    site[/exclude,exclude...]\
  5. ##        :pattern,pattern...[/distrib,distrib...]\
  6. ##        :flag,flag...\
  7. ##        :param
  8. ##  Summary of flags:
  9. ##    <size        Article must be less then size bytes.
  10. ##    Aitems        Article checks -- d (must have Distribution header)
  11. ##            p (don't check for site in Path header).
  12. ##    Bhigh/low    Internal buffer size before writing to output.
  13. ##    H[count]    Article must have less then count hops; default is 1.
  14. ##    Isize        Internal buffer size (if a file feed)
  15. ##    Nm        Only moderated groups that match the patterns.
  16. ##    Nu        Only unmoderated groups that match the patterns.
  17. ##    Ssize        Start spooling if more than size bytes get queued.
  18. ##    Ttype        Feed types -- f (file) m (funnel; param names the
  19. ##            real entry) p (pipe to program) c (send to stdin
  20. ##            channel of param's sub-process); x (like c, but
  21. ##            handles commands on stdin).
  22. ##    Witems        What to write -- b (article bytesize) f (full path)
  23. ##            g (first newsgroup) m (Message-ID) n (relative
  24. ##            path) s (site that fed article) t (time received)
  25. ##            * (names of funnel feed-in's or all sites that get
  26. ##            the article) N (Newsgroups header) D (Distribution
  27. ##            header) H (all headers) O (overview data) R
  28. ##            (replication data).
  29. ##  Param field depends on T flag.  For Tf, relative paths are from the
  30. ##  out.going directory.  For Tp and Tc, it is a shell command to execute.
  31. ##  If a Tm refers to this entry (which will have its own T param) then "*"
  32. ##  is expanded to all the funnel sites that triggered this one.  Useful
  33. ##  for spawning one mail process, e.g.
  34. ##
  35. ##  This file is complicated -- see newsfeeds.5!
  36.  
  37. ##  This is the local site.
  38. ##  The "pattern" field gives the intial subscription list for
  39. ##  all other sites.  You might want to put "!control,!junk,!<local>.*"
  40. ##  there.  The "distrib" subfield limits incoming articles.
  41. ME\
  42.     :*,!foo.*/world,usa,na,gnu,bionet,pubnet,u3b,eunet,vmsnet,inet,ddn,\
  43.     k12\
  44.     ::
  45.  
  46. # Feed all moderated source postings to an archiver
  47. source-archive\
  48.     :!*,comp.sources.*\
  49.     :Tp,Nm:/news/bin/archive %s
  50.  
  51. # Feed all local non-internal postings to nearnet; sent off-line via
  52. # nntpsend or send-nntp.
  53. nic.near.net\
  54.     :!junk/!foo\
  55.     :Tf,Wnm:nic.near.net
  56.  
  57. # A real-time nntplink feed
  58. uunet\
  59.     :/!foo\
  60.     :Tc,Wnm:/news/bin/nntplink -i stdin news.uu.net
  61.  
  62. # Capture all Foo, Incorporated, postings
  63. capture\
  64.     :*/foo\
  65.     :Tp,H2:/usr/lib/news/capture %s
  66.  
  67. # A UUCP feed, where we try to keep the "batching" between 4 and 1K.
  68. ihnp4\
  69.     :!junk,!control/!foo\
  70.     :Tf,Wfb,B4096/1024:
  71.